-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
5.2.2
-
Code
-
Classes
- ShortPixelPng2Jpg
Total Complexity |
58 |
Dependencies |
6 |
Dependents |
0 |
Total lines |
462 |
Lines of code |
251 |
Logical lines of code |
178 |
Comment lines |
131 |
Methods |
9 |
Properties |
3 |
Methods 9
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
convert() |
A |
41 |
14 |
57 |
isTransParent() |
A |
42 |
14 |
46 |
convertPng2Jpg() |
A |
49 |
10 |
26 |
doConvertPng2Jpg() |
A |
40 |
7 |
58 |
restorePng2Jpg() |
S |
49 |
5 |
32 |
unique_file() |
S |
58 |
3 |
16 |
getPNGImage() |
S |
66 |
2 |
9 |
raiseMemoryLimit() |
S |
74 |
2 |
5 |
__construct() |
S |
91 |
1 |
2 |